package cn.com.haopy.yue.ai.db.entity.arisk;

import cn.com.haopy.yue.ai.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/3/26 9:05
 */
@Data
@TableName(value = "arisk_standard_calculate", autoResultMap = true)
@ApiModel(value = "收费标准-计算公式")
public class AIRiskStandardCalculate extends BaseEntity {

    @ApiModelProperty(value = "分类ID")
    @TableField(value = "cate_id", jdbcType = JdbcType.INTEGER)
    private Integer cateId;

    @ApiModelProperty(value = "收费标准ID")
    @TableField(value = "charge_id", jdbcType = JdbcType.INTEGER)
    @NotNull(message = "计费标准不能为空")
    private Integer chargeId;

    @ApiModelProperty(value = "计费基数名称")
    @NotNull(message = "计费标准不能为空")
    @TableField(value = "label_name", jdbcType = JdbcType.VARCHAR)
    private String labelName;

    @ApiModelProperty(value = "下限")
    @TableField(value = "lower_limit", jdbcType = JdbcType.DECIMAL)
    private BigDecimal lowerLimit;

    @ApiModelProperty(value = "上限")
    @TableField(value = "upper_limit", jdbcType = JdbcType.DECIMAL)
    private BigDecimal upperLimit;





}
